//创建pinia实例
//使用pinia插件

import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(persist)

export default pinia
export * from './modules/user' //这段代码是将引入和导出结合了
export * from './modules/users'
